package com.design.YiTong.model.medicinal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.design.YiTong.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

@Data
@ApiModel(description = "medicinalShop")
@TableName("medicinal")
public class MedicinalShop extends BaseEntity {
    @ApiModelProperty(value="药品编号")
    @TableField("medcode")
    private String medcode;

    @ApiModelProperty(value = "药品名称")
    @TableField("medname")
    private String medname;

    @ApiModelProperty(value = "药品价格")
    @TableField("medprice")
    private double medprice;

    @ApiModelProperty(value = "药品库存")
    @TableField("availableNumber")
    private int availableNumber;

    @ApiModelProperty(value = "药品参数")
    @TableField("param")
    private String note;
    @ApiModelProperty(value = "图片")
    @TableField("image")
    private String image;
}
